home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / Utilities / Pictoids / Picture MDEF ƒ / PicMDEF.h < prev   
Encoding:
C/C++ Source or Header  |  1991-11-13  |  694 b   |  28 lines  |  [TEXT/KAHL]

  1. #ifndef _PicMDEF_
  2. #define _PicMDEF_
  3.  
  4. typedef struct
  5. {    int            rnum;
  6.     Rect        rects[1];
  7. }    **nrctHand;
  8.  
  9. typedef struct
  10. {    /* standard fields */
  11.     int            menuID;
  12.     int            menuWidth, menuHeight;
  13.     Handle        menuProc;
  14.     long        enableFlags;
  15.     /* almost standard, normally Str255 */
  16.     Str31        menuTitle;
  17.     /* non-standard fields */
  18.     PicHandle    menuPic;        /* menu picture */
  19.     nrctHand    nrcts;            /* hot areas */
  20.     int            hiOne, hiTwo;    /* two hot areas to highlight, 0 = none */
  21.     Point        tearLoc;        /* top left of tear off rect */
  22.     int            tBarHeight;        /* height to assume for palette title bar */
  23. } PicMenu, *PicMenuPtr, **PicMenuHandle;
  24.  
  25. MenuHandle NewPicMenu(Str31, PicHandle, nrctHand);
  26. void DisposePicMenu(MenuHandle);
  27.  
  28. #endif